Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update how UFS names restart files #1593

Merged
merged 4 commits into from
Mar 1, 2023

Conversation

jiandewang
Copy link
Collaborator

in order to have an unified style of restart file naming among UFS sub components, this mini PR

  • write all restarts as YYYYMMDD.HHMMSS.MOM.resX
  • includes stoch restarts
  • write final restart with timestamp
  • change nems=>ufs

the code changes are only within ufs loop in nuopc drive so it's unlikely to have impact for other users.
As usual we ask reviewers to help us check the code to make sure it won't break your current settings.

DeniseWorthen and others added 4 commits February 4, 2023 16:10
* write all restarts as YYYYMMDD.HHMMSS.MOM.resX
* includes stoch restarts
* write final restart with timestamp
* change nems=>ufs
…n-20230206

update to MOM6 main 20230206 commit
@codecov
Copy link

codecov bot commented Feb 28, 2023

Codecov Report

Merging #1593 (84d5a75) into main (71e1104) will increase coverage by 1.30%.
The diff coverage is n/a.

❗ Current head 84d5a75 differs from pull request most recent head 520a4d1. Consider uploading reports for the commit 520a4d1 to get more accurate results

@@            Coverage Diff             @@
##             main    #1593      +/-   ##
==========================================
+ Coverage   35.91%   37.22%   +1.30%     
==========================================
  Files         260      263       +3     
  Lines       72016    73074    +1058     
  Branches    13593    13608      +15     
==========================================
+ Hits        25867    27203    +1336     
+ Misses      41101    40864     -237     
+ Partials     5048     5007      -41     
Impacted Files Coverage Δ
src/framework/testing/MOM_file_parser_tests.F90 94.15% <0.00%> (ø)
src/framework/MOM_unit_testing.F90 76.00% <0.00%> (ø)
...ig_src/drivers/unit_tests/MOM_unit_test_driver.F90 92.00% <0.00%> (ø)
src/framework/MOM_string_functions.F90 86.82% <0.00%> (+0.97%) ⬆️
config_src/infra/FMS1/MOM_coms_infra.F90 62.32% <0.00%> (+2.73%) ⬆️
config_src/infra/FMS1/MOM_error_infra.F90 100.00% <0.00%> (+7.69%) ⬆️
src/framework/MOM_document.F90 74.10% <0.00%> (+13.16%) ⬆️
src/framework/MOM_error_handler.F90 59.77% <0.00%> (+20.68%) ⬆️
src/framework/MOM_file_parser.F90 90.78% <0.00%> (+30.58%) ⬆️
src/framework/posix.F90 50.00% <0.00%> (+50.00%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Collaborator

@sanAkel sanAkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As noted, these changes are limited in their scope to the NUOPC coupler- that seem reasonable for the said purpose.

(However, if I may suggest, rather than doing this way, touching Coupler that spans outside the UFS utility, perhaps best to have flexibility in your UFS workflow tool- anyway do as you wish!)

Copy link
Collaborator

@alperaltuntas alperaltuntas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No impact on CESM.

Copy link
Collaborator

@abozec abozec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

COAPS approves

Copy link
Collaborator

@kshedstrom kshedstrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation is not according to MOM6 guidelines in config_src/drivers/nuopc_cap/mom_cap.F90, lines 1702-1705

I'll approve subject to this being fixed.

Copy link
Collaborator

@marshallward marshallward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GFDL approves this PR.

We agree with @kshedstrom with respect to whitespace in the write() statements (specifically after commas), but we're OK with fixing this up in a later PR.

@jiandewang
Copy link
Collaborator Author

thanks for all reviewers' quick action, we will fix the extra whitespace in a later PR.

@jiandewang jiandewang merged commit b57ff02 into mom-ocean:main Mar 1, 2023
@jiandewang jiandewang deleted the EMC-candidate-20230227 branch March 19, 2024 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants